package com.wjm.blog.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wjm.blog.common.base.entity.BaseEntity;
import lombok.Data;


/**
 * 用户角色信息表Entity
 *
 * @author wjm
 * @date 2023-10-18T14:34:39.412
 * @version 1.0
 */
@Data
@TableName("sys_user_role")
public class SysUserRoleEntity extends BaseEntity<SysUserRoleEntity> {

    /**
     * 用户ID 关联SYS_USER表主键ID
     */
    @TableField("USER_ID")
    private Long userId;

    /**
     * 角色ID 关联SYS_ROLE表主键ID
     */
    @TableField("ROLE_ID")
    private Long roleId;

}
